package com.gzq.repository;

import com.gzq.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;


/**
 * @description:
 * @author: duzi55
 * @date: 2019-07-01 08:57
 */
public interface UserRepository extends JpaRepository<User,Long> {
     User findUserByNameAndPassword(String name,String password);
     User findByName(String name);
}
